package com.olmarket.core.config;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author: qwesde@hust.edu.cn
 * @date: 2021/2/13 11:03
 */

@Data
@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "jwt")
public class JwtConfig {
    private String secret; // 加密的密钥
    private String tokenHeaderKey; // 在请求头中的字段key
    private long expiration; // 过期时间
}
